package com.zdkj.subway.stm.mapper;

import com.zdkj.subway.stm.dto.in.SwStInputPassengerWorkConfirmSelectDTO;
import com.zdkj.subway.stm.entity.SwStInputPassengerWork;
import com.zdkj.subway.stm.entity.SwStInputPassengerWorkOther;
import com.zdkj.subway.stm.entity.SwStInputPassengerWorkTicket;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @support: zdkj
 * @author: cuilei
 * @version: 1.0
 * @Date: 2020-06-10 10:12
 * @Description: <p>
 * 乘客事务确认
 * </p>
 */
public interface SwStInputPassengerWorkConfirmMapper {
    /**
     * 查询待确认乘客事务录入主信息
     *
     * @param selectDTO
     * @param stationCode
     * @return
     */
    List<SwStInputPassengerWork> getInputPassengerWork(@Param("selectDTO") SwStInputPassengerWorkConfirmSelectDTO selectDTO,
                                                       @Param("lineCode") String lineCode,@Param("stationCode") String stationCode);

    /**
     * 查询待确认的乘客事务退换票信息
     *
     * @param selectDTO
     * @param stationCode
     * @return
     */
    List<SwStInputPassengerWorkTicket> getTicketWork(@Param("selectDTO") SwStInputPassengerWorkConfirmSelectDTO selectDTO,
                                                     @Param("lineCode") String lineCode,@Param("stationCode") String stationCode);

    /**
     * 查询待确认的其他乘客事务
     *
     * @param selectDTO
     * @param stationCode
     * @return
     */
    List<SwStInputPassengerWorkOther> getOtherWork(@Param("selectDTO") SwStInputPassengerWorkConfirmSelectDTO selectDTO,
                                                   @Param("lineCode") String lineCode,@Param("stationCode") String stationCode);
}
